package com.sh.data.engine.application.model.request.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: mengzheng.mhc
 * @date: 2024/7/1 10:36
 */
@Data
@Schema(description = "webservice获取service,port operation")
public class GetServiceRequest {

    @Schema(description = "wsdl网址路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "wsdl网址路径不能为空")
    private String address;

    @Schema(description = "wsdl解析时的用户名key", requiredMode = Schema.RequiredMode.REQUIRED)
    private String addressUserNameKey;

    @Schema(description = "wsdl解析时的用户名value", requiredMode = Schema.RequiredMode.REQUIRED)
    private String addressUserNameValue;

    @Schema(description = "wsdl解析时的用户密码key", requiredMode = Schema.RequiredMode.REQUIRED)
    private String addressPasswordKey;

    @Schema(description = "wsdl解析时的用户密码value", requiredMode = Schema.RequiredMode.REQUIRED)
    private String addressPasswordValue;
}
